// pages/component/rt/richtext.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    html:'<img  src="https://jshand.gitee.io/imgs/qr_gzh.jpg"',
    nodes:[
            {
              name:'img',
              attrs: {
                src: 'https://jshand.gitee.io/imgs/qr_gzh.jpg'
            }
          }
        ]
  },
  loadHtml(){

    //通过网络查询 商品详情的内容
    let html = ` <div class="descV6-pc-container">
          <p style="text-align:center;">&nbsp;</p> <p><img src="//img.alicdn.com/imgextra/i1/4106349042/O1CN015wH1ME2GfHxP4WY9Y_!!4106349042-0-scmitem6000.jpg_790x10000.jpg" align="absmiddle" width="750"><img src="//img.alicdn.com/imgextra/i4/4106349042/O1CN01iyt53K2GfHxRbP3ac_!!4106349042-0-scmitem6000.jpg_790x10000.jpg" align="absmiddle" width="750"><img src="//img.alicdn.com/imgextra/i2/4106349042/O1CN01yfITEe2GfHxRbOzPq_!!4106349042-0-scmitem6000.jpg_790x10000.jpg" align="absmiddle" width="750"><img src="//img.alicdn.com/imgextra/i1/4106349042/O1CN01dWppx12GfHxO7a15N_!!4106349042-0-scmitem6000.jpg_790x10000.jpg" align="absmiddle" width="750"><img src="//img.alicdn.com/imgextra/i1/4106349042/O1CN01FXY0Mn2GfHxGSQkjH_!!4106349042-0-scmitem6000.jpg_790x10000.jpg" align="absmiddle" width="750"><img src="//img.alicdn.com/imgextra/i4/4106349042/O1CN01auztku2GfHxMU0jnB_!!4106349042-0-scmitem6000.jpg_790x10000.jpg" align="absmiddle" width="750"><img src="//img.alicdn.com/imgextra/i3/4106349042/O1CN01Bg09vX2GfHxPj37nN_!!4106349042-0-scmitem6000.jpg_790x10000.jpg" align="absmiddle" width="750"></p>
          </div>`;
   
     this.setData({"html":html})
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})